package com.pmenergy.util;


import java.util.ArrayList;
import java.util.List;


public class TabActivity {
	 
    private String nombre;
    private String contenido;
    @SuppressWarnings("unused")
	private static final long serialVersionUID = 1L;
	private List<Object> resourceActivityList;
	private List<Object> equipmenActivitytList;
	private List<Object> manPowerActivityList;
	
	
    
    public TabActivity(String nombre , String contenido){
    	this.nombre=nombre;
    	this.contenido=contenido;
    	
    	
    	this.resourceActivityList = new ArrayList<Object>();
    	this.equipmenActivitytList = new ArrayList<Object>();
    	this.manPowerActivityList = new ArrayList<Object>();
    
    }
    
    public List<Object> getResourceActivityList() {
        return this.resourceActivityList;
    }
    
    public void setResourceActivityList(List<Object> resourceActivityList){
    	this.resourceActivityList=resourceActivityList;
    }      
    
    public List<Object> getEquipmentActivityList() {
        return this.equipmenActivitytList;
    }
    
    public void setEquipmentActivityList(List<Object> equipmentActivityList){
    	this.equipmenActivitytList=equipmentActivityList;
    }      
    
    public List<Object> getManPowerActivityList() {
        return this.manPowerActivityList;
    }
    
    public void setManPowerActivityList(List<Object> manPowerActivityList){
    	this.manPowerActivityList=manPowerActivityList;
    }      
    
    public String getNombre() {
        return nombre;
    }
 
    public void setNombre(String nombre) {
        this.nombre = nombre;
    }
 
    public String getContenido() {
        return contenido;
    }
 
    public void setContenido(String contenido) {
        this.contenido = contenido;
    }
    
    public void addResourceActivity(Object resourceActivity){
		this.resourceActivityList.add(resourceActivity);
    }
    
    public void addEquipmentActivity(Object equipmentActivity){
    	this.equipmenActivitytList.add(equipmentActivity);
    }

	public void addManPowerActivity(Object manPowerActivity){
		this.equipmenActivitytList.add(manPowerActivity);
	}
    
	public void deleteResourceActivity(Object resourceActivityToDelete){
		this.resourceActivityList.remove(resourceActivityToDelete);
	}
	
	public void deleteEquipmentActivity(Object equipmentActivityToDelete){
		this.resourceActivityList.remove(equipmentActivityToDelete);
	}

	public void deleteManPowerActivity(Object manPowerActivityToDelete){
		this.resourceActivityList.remove(manPowerActivityToDelete);
	}

    
}